package org.zl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.zl.pojo.Undergraduate;


public interface UndergraduateMapper {

	public List<Undergraduate> getStudentByClazz();

	/**
	 * 获取数量
	 * @param majId
	 * @return
	 */
	public Integer getStudentCountByClazz(@Param("majId") Integer majId);

	/**
	 * 分页查询
	 * @param majId
	 * @param recordBegin
	 * @param pageSize
	 * @return
	 */
	public List<Undergraduate> getStudentsByClazz4Page(@Param("majId")Integer majId, @Param("recordBegin") Integer recordBegin, @Param("pageSize") Integer pageSize);
}
